package cn.zwx.common.rocket.producer.bo;

import lombok.Data;

/**
 * @author zhangwenxue
 */
@Data
public class MessageBO {

    /**
     *  建议使用唯一id
     **/
    private String key;

    /**
     *  消息topic
     **/
    private String topic;
    /**
     *  消息tag
     **/
    private String tag;
    /**
     *  消息体
     **/
    private String messageBody;

    /**
     *  延时消息时间 不发送就立即发送
     **/
    private Integer startDeliverLevel;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Integer getStartDeliverLevel() {
        return startDeliverLevel;
    }

    public void setStartDeliverLevel(Integer startDeliverLevel) {
        this.startDeliverLevel = startDeliverLevel;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getMessageBody() {
        return messageBody;
    }

    public void setMessageBody(String messageBody) {
        this.messageBody = messageBody;
    }
}
